<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <%@ include file="/include/jquery.libs.jsp" %>
</head>
<body style="background: #f0f9fd;" class="easyui-layout">
<div data-options="region:'center'">
    <table id="dg" title="权限列表" class="easyui-datagrid"
           toolbar="#toolbar"
           url="${ctx}/${frameworkPath}/permission/list?sort=name&&dir=asc"
           pagination="true" rownumbers="true" fitColumns="true" fit="true"
           singleSelect="false">
        <thead>
        <tr>
            <th data-options="field:'ck',checkbox:true"></th>
            <th field="id" width="50" data-options="hidden:true"><fmt:message key="permission.id"/></th>
            <th field="name" width="50"><fmt:message key="permission.name"/></th>
            <th field="functionName" width="80"><fmt:message key="permission.function"/></th>
            <th field="type" width="80"><fmt:message key="permission.type"/></th>
            <th field="userType" width="80"><fmt:message key="permission.user.type"/></th>
            <th field="orgType" width="80"><fmt:message key="permission.org.type"/></th>
            <th field="item" width="80"><fmt:message key="permission.item"/></th>
            <th field="subitem" width="80"><fmt:message key="permission.subitem"/></th>
            <th field="expression" width="80"><fmt:message key="permission.expression"/></th>
        </tr>
        </thead>
    </table>
</div>
<div id="toolbar">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'button-add',plain:true,size:'medium'"
       onClick="">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'button-edit',plain:true,size:'medium'"
       onClick="">修改</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'button-delete',plain:true,size:'medium'"
       onClick="">删除</a>
</div>

<div id="window_create" class="easyui-window" title="新建模块"
     data-options="modal:true,closed:true,iconCls:'icon-save',maximizable:true,width:700,top:20">

</div>
<div id="window_edit" class="easyui-window" title="编辑模块"
     data-options="modal:true,closed:true,iconCls:'icon-edit',maximizable:true,width:700,top:20">

</div>
<script type="text/javascript">

</script>
</body>
</html>